﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Demo.Data.Model;

namespace Demo.LinqToSql.Data.Model
{
    internal partial class Customer:ICustomer
    {
        /// <summary>
        /// Customer's orders.
        /// </summary>
        public ICollection<IOrder> Orders
        {
            get { return new CollectionWrapper<Order, IOrder>(InnerOrders); }
        }
    }
}
